package com.tool.service;


import org.springframework.stereotype.Service;

import com.tool.utils.Base64Helper;

@Service
public class Base64Service {

//	@LogConsumedTime
	public String encode(String msg) {
		return Base64Helper.encode(msg.getBytes());
	}
	
	
	public String decode(String msg) {
		return new String(Base64Helper.decode(msg));
	}
	
}
